package excel;

import com.alibaba.excel.EasyExcel;

public class ExcelReadDemo {
    public static void main(String[] args) {
        //实现excel的写操作

        //1.设置读取的excel文件的路径和名称
        String filename = "D:\\excel\\test01.xlsx";

        //2.调用easyexcel的方法实现读操作
        EasyExcel
                .read(
                        filename,
                        TestReadData.class,
                        new ExcelListener())
                .sheet()
                .doRead();
    }
}
